package com.repeat.member.repository;


import com.repeat.member.model.UserSignRecords;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;


@Repository
public interface UserSignRecordsRepository extends JpaRepository<UserSignRecords, Long> {
    Boolean existsByUserIdAndSignDate(Long userId, @Param("date") LocalDate signDate);
}
